SHELL = /bin/sh
INSTALL = /usr/bin/install -c
INSTALL_DATA = /usr/bin/install -c -m 644
LDCONFIG = /sbin/ldconfig

prefix = /usr/local
exec_prefix = $(prefix)
libdir = $(exec_prefix)/lib
includedir = $(prefix)/include
datarootdir = $(prefix)/share
sysconfdir = $(prefix)/etc

sslcertdir = $(sysconfdir)/ssl/cert

CFLAGS+= -Wall -Wextra -Werror -I.

all: krobot

krobot: krobot.o config.h
	${CC} ${CFLAGS} ${LDFLAGS} -L. -lplurc  krobot.c  -o krobot 

.PHONY: clean
clean:	
	rm -f krobot.o krobot

